package com.inmobi.androidsdk;

import android.graphics.Bitmap;
import android.webkit.CookieSyncManager;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import com.inmobi.re.container.CustomView;
import com.inmobi.re.container.CustomView.SwitchIconType;

class g extends WebViewClient
{
  g(IMBrowserActivity paramIMBrowserActivity)
  {
  }

  public void onPageFinished(WebView paramWebView, String paramString)
  {
    super.onPageFinished(paramWebView, paramString);
    if (IMBrowserActivity.b(this.a) != null)
    {
      if (!paramWebView.canGoForward())
        break label53;
      IMBrowserActivity.b(this.a).setSwitchInt(CustomView.SwitchIconType.FORWARD_ACTIVE);
      IMBrowserActivity.b(this.a).invalidate();
    }
    while (true)
    {
      CookieSyncManager.getInstance().sync();
      return;
      label53: IMBrowserActivity.b(this.a).setSwitchInt(CustomView.SwitchIconType.FORWARD_INACTIVE);
      IMBrowserActivity.b(this.a).invalidate();
    }
  }

  public void onPageStarted(WebView paramWebView, String paramString, Bitmap paramBitmap)
  {
    super.onPageStarted(paramWebView, paramString, paramBitmap);
    if (IMBrowserActivity.b(this.a) != null)
    {
      IMBrowserActivity.b(this.a).setSwitchInt(CustomView.SwitchIconType.FORWARD_INACTIVE);
      IMBrowserActivity.b(this.a).invalidate();
    }
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.inmobi.androidsdk.g
 * JD-Core Version:    0.6.2
 */